package com.itheima.util;

public class CurrentHolderJwt {
    private static final ThreadLocal<String> CURRENT_LOCA= new ThreadLocal<>();

    public static void setCurrentJwt(String jwt){
        CURRENT_LOCA.set(jwt);
    }

    public static String getCurrentJwt(){
        return CURRENT_LOCA.get();
    }
    public static void remove(){
        CURRENT_LOCA.remove();
    }

}
